package ynu.edu.elmservlet.dao;

import ynu.edu.elmservlet.po.Orders;

import java.util.List;
public interface OrdersDao {
    public int saveOrders(Orders orders) throws Exception;
    public Orders getOrdersById(Integer orderId) throws Exception;
    public List<Orders> listOrdersByUserId(String userId) throws Exception;
}